<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
    String user="";
    if(session.getAttribute("username")!=null){
      user=session.getAttribute("username").toString();
    }
    String role="";
    if(session.getAttribute("role")!=null){
      role=session.getAttribute("role").toString();
    }
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    
    <title>修改密码</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="source/css/main.css"/>
    <link rel="stylesheet" type="text/css" href="source/css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="source/css/login.css" />
    <link rel="stylesheet" type="text/css" href="source/css/editAccount.css" />
  </head>
  
  <body>
    <div id="total">
  <div id="header">
     <div class="head-title">
       <img src="source/img/main/logo-nju2.png" /> 中国人文社会科学术语编纂平台 
     </div>
       <ul class="nav-head clear">
				<li>
					<span class="span1">欢迎回来</span>
				</li>
				<li>
					<span id="username-show"><%=user %></span>
					<span id="userrole-show"><%=role %></span>
					<img width="1px" height="13px" src="source/img/main/nav_seperate_line.png">
				</li>
				<li>
					<a id="logout" href="">注销</a>
					
				</li>
				
			</ul>
     </div>

  <div id="content">
     <div id="content-title">
       <h1>修改密码</h1>
     </div>
     <div id="manage-board" class="clear">	
    				<iframe name=login_iframe width=0 height=0 style="visibility: hidden;"></iframe>
      				<form name="account" method="post" action="" target="login_iframe" onSubmit="modifyPassword()">
                    <div class="acount-title">
      						<h4>修改密码：</h4><hr />
      					</div>
      					<ul class="category-ul account-ul">
      						<li>						
      							<label for="oldkey">旧&nbsp;密&nbsp;码&nbsp;：</label><input type="password" name="oldkey" /><span>*输入旧密码</span>
      						</li>
      						<li>
      							<label for="newkey">新&nbsp;密&nbsp;码&nbsp;：</label><input type="password" name="newkey" /><span>*输入新密码</span>
      						</li>
      						<li>
      							<label for="comfirmkey">确认密码：</label><input type="password" name="comfirmkey" /><span>*再次输入密码</span>
      						</li>
      						<li id="buttons">
             					<input type="submit" value="提交内容"/>
        		 			</li>
        		 		</ul>
      				</form>
      				
				</div>
  </div>

  <div id="footer">
	<p>南京大学双语词典研究中心 版权所有</p>
	<p>南京市仙林大道163号南京大学仙林校区 邮编：210023</p>
    <p>Copyright © 2012-2013 bdrc.nju.edu.cn , All Rights Reserved.</p>
  </div>
</div>

    <script type="text/javascript" src="source/js/jquery-1.11.0.js"></script>
    <script type="text/javascript" src="source/js/editAccount.js"></script>
    <script type="text/javascript" src="source/js/login-confirm.js"></script>
  </body>
</html>
